#pragma once
#ifndef ENTITYTERRAIN_H
#define ENTITYTERRAIN_H

#include "WorldEntity.h"

class CEntityTerrain:public CWorldEntity
{
public:
	CEntityTerrain(int gfxIndex);
	~CEntityTerrain(void);

	void doUpdate(void);
	void doRender(void);

	//gettors
	D3DXVECTOR3 getMinBound()const;
	D3DXVECTOR3 getMaxBound()const;
	float getCellWidth()const;
	float getCellHeight()const;
	int getNumCellWide()const;
	int getNumCellHigh()const;
	D3DXVECTOR3 getVertex(int index)const;

};
#endif
